package com.lphoenix.pref_lab;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

public class AnrService extends Service {
    public AnrService() {
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        try {
            Thread.sleep(50*1000);

        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public IBinder onBind(Intent intent) {
        // TODO: Return the communication channel to the service.
        throw new UnsupportedOperationException("Not yet implemented");
    }
}